package com.epfresh.supplier.entity;

import java.util.List;

public class BaseProductAreaConfig {
    private Integer maxEda;
    private String areaCode;
    private String areaName;
    private int deliveryMode;
    private Double freight;
    private Integer minEda;
    private Double minOrderQuantity;
    private List<BaseProductAreaConfigPrices> prices;
    private Double maxOrderQuantity;

    public int getMaxEda() {
        return this.maxEda == null ? 0 : maxEda;
    }

    public void setMaxEda(int maxEda) {
        this.maxEda = maxEda;
    }

    public String getAreaCode() {
        return this.areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return this.areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public int getDeliveryMode() {
        return this.deliveryMode;
    }

    public void setDeliveryMode(int deliveryMode) {
        this.deliveryMode = deliveryMode;
    }

    public double getFreight() {
        return this.freight == null ? 0 : freight;
    }

    public void setFreight(double freight) {
        this.freight = freight;
    }

    public int getMinEda() {
        return this.minEda == null ? 0 : minEda;
    }

    public void setMinEda(int minEda) {
        this.minEda = minEda;
    }

    public double getMinOrderQuantity() {
        return this.minOrderQuantity == null ? 0 : minOrderQuantity;
    }

    public void setMinOrderQuantity(double minOrderQuantity) {
        this.minOrderQuantity = minOrderQuantity;
    }

    public List<BaseProductAreaConfigPrices> getPrices() {
        return this.prices;
    }

    public void setPrices(List<BaseProductAreaConfigPrices> prices) {
        this.prices = prices;
    }

    public double getMaxOrderQuantity() {
        return this.maxOrderQuantity == null ? 0 : maxOrderQuantity;
    }

    public void setMaxOrderQuantity(double maxOrderQuantity) {
        this.maxOrderQuantity = maxOrderQuantity;
    }
}
